﻿using Shop.RemoteModel;
using SqlSugar;
using WeDonekRpc.Helper;

namespace Shop.Model.DB
{
    [SugarTable("Logistics_Config")]
    public class DBLogisticsConfig
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }
        /// <summary>
        /// 模板Id 
        ///</summary>
        public long TemplateId { get; set; }
        /// <summary>
        /// 地区ID 
        ///</summary>
        public int AreaId { get; set; }
        /// <summary>
        /// 地区名 
        ///</summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 地区类型 
        ///</summary>
        public AreaType AreaType { get; set; }

        /// <summary>
        /// 估价方式 
        ///</summary>
        public ValuationMode ValuationMode { get; set; }

        /// <summary>
        /// 起始值 
        ///</summary>
        public decimal FirstVal { get; set; }

        /// <summary>
        /// 物流费用 
        ///</summary>
        public decimal LogisticsPrice { get; set; }

        /// <summary>
        /// 续 
        ///</summary>
        public decimal ContinueVal { get; set; }

        /// <summary>
        /// 费用 
        ///</summary>
        public decimal ContinuePrice { get; set; }

        /// <summary>
        /// 免物流费用最低值 
        ///</summary>
        public decimal FreeValue { get; set; }

        /// <summary>
        /// 免物流费用最低金额 
        ///</summary>
        public decimal FreePrice { get; set; }

        /// <summary>
        /// 立方厘米比例值
        /// </summary>
        public short CcValue { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否启用 
        ///</summary>
        public bool IsEnable { get; set; }
    }
}
